package com.lhd.struct.proxy.staticProxy;

/**
 * @Author: liuhd
 * @Date: 2024/12/16 15:20
 * @Description: 代理类
 */
public class ProxyPoint implements SellTickets{
    private TrainStation trainStation = new TrainStation();
    @Override
    public void sell() {
        System.out.println("服务点收取费用");
        trainStation.sell();
    }
}
